import Vue from 'vue'
import Router from 'vue-router'
import MainFrame from '@/views/MainFrame'
import Login from '@/views/Login'
import List from '@/views/List'
import List1 from '@/views/List1'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'MainFrame',
      component: MainFrame,
      children: [
        {
          path:'',
          component: List
        },{
          path:"list1",
          component: List1
        }
      ]
    },{
      path:"/login",
      name:'Login',
      component: Login
    }
  ]
})
